using System;
using Headsight.BPMN2WF.BPMN.Schemas;

namespace Headsight.BPMN2WF.Testing.TestObjCtors
{
    /// <summary>
    /// <see cref="tSequenceFlow"/> <see cref="ITestObjCtor{T}"/>.
    /// </summary>
    public class tSequenceFlowCtor : ITestObjCtor<tSequenceFlow>
    {
        private string _id;

        public tSequenceFlow Create()
        {
            return new tSequenceFlow { id = _id };
        }

        public tSequenceFlowCtor WithId(String id)
        {
            _id = id;

            return this;
        }
    }
}